feat: remove isNewManualExpenseFlowEnabled beta flag#96228
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Hey @ZhenjaHorbach, sorry but I think @ikevin127 will be reviewer of this PR. We worked on this but got reverted here #94134 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 09e08eaa33
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| if (transaction?.iouRequestType === CONST.IOU.REQUEST_TYPE.MANUAL && !transaction?.isAmountSet) { | ||
| return {errorKey: 'common.error.fieldRequired'}; |
There was a problem hiding this comment.
Don't require isAmountSet on existing manual transactions
When this confirmation is used for existing manual/split expenses that predate isAmountSet (or are built without it, e.g. split transactions from createSplitsAndOnyxData), the transaction can still have a valid non-zero amount but no isAmountSet flag. With the beta guard removed, this branch now treats those persisted amounts as missing and returns fieldRequired, so users can be blocked from saving/editing until they re-enter the amount; distinguish an explicitly cleared new draft from older data that simply lacks the flag.
Useful? React with 👍 / 👎.
Explanation of Change
Fixed Issues
$ #93854
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-06-21.at.15.43.27.mov